<?php
/**
 * Apricot Module Interface file
 *
 * @package Apricot
 */

/**
 * Apricot Module Interface
 * 
 * @package Apricot
 * @author Jansen Price <jansen.price@gmail.com>
 * @license http://www.opensource.org/licenses/mit-license.php MIT
 * @version ApricotVersion: 1.1
 */
interface Apricot_Module_Interface
{
    /**
     * Called when the module is loaded in the kernel
     * 
     * @return void
     */
    public function register();

    /**
     * Direct call method
     * 
     * @param array $options Options
     * @return mixed
     */
    public function direct($options = null);

    /**
     * Get type
     * 
     * @return string
     */
    public function getType();
}
